package com.qqtech.qquan.order.dao;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.qquan.order.model.OrderPayLog;
import com.qqtech.qquan.order.model.OrderPayLogQuery;
import com.qqtech.qquan.order.model.OrderPayLogVo;

public interface OrderPayLogDao extends BaseDao<OrderPayLog> {
	public OrderPayLog getByPayOrderNo(java.lang.String payOrderNo) ;
	
	/**
	 * 后台查询记录数
	 * @param query
	 * @return
	 */
	public int queryCountAdmin(OrderPayLogQuery query);
	
	/**
	 * 后台查询 -分页
	 * @param query
	 * @param pageable
	 * @return
	 */
	public Page<OrderPayLogVo> queryPageListAdmin(OrderPayLogQuery query, Pageable pageable);
	
	/**
	 * 后台查询 -不分页
	 * @param query
	 * @param pageable
	 * @return
	 */
	public List<OrderPayLogVo> queryListAdmin(OrderPayLogQuery query, Pageable pageable);
}
